<?php

declare(strict_types=1);
/**
 * This file is part of Hyperf.
 *
 * @link     https://www.hyperf.io
 * @document https://hyperf.wiki
 * @contact  group@hyperf.io
 * @license  https://github.com/hyperf/hyperf/blob/master/LICENSE
 */

namespace App\Constants;

use App\Traits\EnumTrait;
use Hyperf\Constants\Annotation\Constants;
use Hyperf\Constants\Annotation\Message;
use Hyperf\Constants\EnumConstantsTrait;

#[Constants]
enum BlackTypeEnum: int
{
    use EnumConstantsTrait, EnumTrait;

    #[Message("无")]
    case NO = 0;

    #[Message("时间篡改黑名单")]
    case TIME_TAMPER = 1;

    #[Message("广告关黑名单")]
    case AD_CLOSE = 2;

    #[Message("IP黑名单")]
    case IP = 4;

    #[Message("OAID永久黑名单")]
    case OAID_PERMANENT = 5;

    #[Message("OAID临时黑名单")]
    case OAID_TODAY = 7;

    #[Message("开代理黑名单")]
    case OPEN_PROXY = 9;

    #[Message("开ADB调试黑名单")]
    case OPEN_ADB = 10;

    #[Message("手机ROOT了")]
    case ROOT_MOBILE = 11;

    #[Message("没装手机卡")]
    case NOT_SIM_CARD = 12;

    #[Message("开VPN了")]
    case OPEN_VPN = 13;

    #[Message("客户端手动修改了时间黑名单")]
    case CLIENT_CHANGE_TIME = 17;

    #[Message("特定机型黑名单")]
    case SPECIFIC_MODEL = 21;
}
